package liquor.util;

import liquor.constant.CoreConstants;
import liquor.core.ThreadLocalConstants;

class Core {
	
	/** 
	 * getter함수명 만들어내는 함수
	 * 
	 * @param fieldName
	 * @return
	 */
	public static String createGetterName(String fieldName) {
		StringBuffer sb = ThreadLocalConstants.getThreadLocalStringBuffer();
		
		sb.append(CoreConstants.GETTER_PREFIX);
		sb.append(fieldName.substring(0, 1).toUpperCase());
		sb.append(fieldName.substring(1));
		
		return sb.toString();
	}
}
